.drop-zone {
  border: 2px dashed #007bff;
  border-radius: 5px;
  padding: 30px;
  text-align: center;
  background-color: #f8f9fa;
  margin-bottom: 20px;
  transition: all 0.3s;
  cursor: pointer;
}
.drop-zone:hover,
.drop-zone.drag-over {
  background-color: #e2e6ea;
}
.drop-zone-prompt {
  font-size: 1.2rem;
  color: #6c757d;
}
.file-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.file-info {
  display: flex;
  flex-direction: column;
}
.file-size {
  font-size: 0.8rem;
  color: #6c757d;
}
.progress {
  margin-top: 15px;
  display: none;
  height: 25px;
  background-color: #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}
.progress-bar {
  transition:
    width 0.3s ease,
    background-color 0.5s ease;
  text-align: center;
  line-height: 25px;
  color: white;
  font-weight: bold;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
  min-width: 2%; /* 确保即使是1%也能看到一点颜色 */
}
#upload-status {
  margin-top: 10px;
  font-weight: bold;
  color: #495057;
  text-align: center;
}

/* 刷新按钮旋转动画 */
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.rotate-animation {
  animation: rotate 1s linear infinite;
  display: inline-block;
}
